package com.saxon.Service;

import com.saxon.Dao.UserDao;

public class UserServiceImpl implements UserService {
    private UserDao userDao;

    public UserServiceImpl (UserDao userDao) {
        this.userDao = userDao;
        System.out.println ("cctv");
    }

    public void setUserDao (UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void getUserDao () {
        userDao.getUser ();
    }
}
